package com.nami.store.biz.convertask.convert;

import com.nami.store.api.request.conversation.task.ConverTaskAddReq;
import com.nami.store.api.response.task.ConverTaskDTO;
import com.nami.store.domain.ConverTaskDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface ConverTaskConvert {

    ConverTaskConvert INSTANCE = Mappers.getMapper(ConverTaskConvert.class);

    ConverTaskDTO convert(ConverTaskDO dto) ;

    List<ConverTaskDTO> convertList(List<ConverTaskDO> dtoList) ;

    ConverTaskDO convert(ConverTaskAddReq req) ;

    List<ConverTaskDO> convertList2(List<ConverTaskAddReq> dtoList) ;

}
